package models;

import java.sql.Date;
import java.util.List;

import org.springframework.context.annotation.Scope;
import org.springframework.stereotype.Component;

import dao.entity.Store;

@Component
@Scope("prototype")
public class StoreModel extends Model {
	private long id;
	private String name;
	private Date createdDate;
	private List<Store> list;

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescription() {
		return description;
	}

	public void setDescription(String description) {
		this.description = description;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public List<Store> getList() {
		return list;
	}

	public void setList(List<Store> list) {
		this.list = list;
	}
}
